﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>@HY.Common.SystemConst.Website.Title</title>
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8" />
    <link rel="icon" href="/favicon.ico" />
    <link rel="stylesheet" href="/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="/lib/hyframe/hyframe.css" />
    <link rel="stylesheet" href="/lib/iconfont/iconfont.css" />
    <style>
        .layui-header .layui-icon {
            font-size: 24px;
        }

        .layui-icon {
            display: inline-block;
        }
    </style>
    <script type="text/javascript" src="/lib/layui/layui.js"></script>
    <script>
        layui.config({
            version: true
        });
    </script>
</head>
<body>
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header header">
            <div class="layui-logo hyframe-logo"></div>
            <div class="hyframe-header-content">
                <a><div class="hyframe-tool"><i title="收起" class="layui-icon layui-icon-shrink-right" data-side-fold="1"></i></div></a>
                <div class="hyframe-title">
                    @HK.Common.SystemConst.Website.Title
                </div>
                <!--电脑端头部菜单  -->
                <ul class="layui-nav layui-layout-left hyframe-header-menu hyframe-menu-header-pc hyframe-pc-show">
                </ul>
                <!--手机端头部菜单-->
                <ul class="layui-nav layui-layout-left hyframe-header-menu hyframe-mobile-show">
                    <li class="layui-nav-item">
                        <a href="javascript:;"><i class="fa fa-list-ul"></i> 选择模块</a>
                        <dl class="layui-nav-child hyframe-menu-header-mobile">
                        </dl>
                    </li>
                </ul>
                <ul class="layui-nav layui-layout-right">
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;" id="refresh"><i class="layui-icon layui-icon-refresh"></i></a>
                    </li>
                    <li class="layui-nav-item mobile layui-hide-xs" lay-unselect>
                        <a href="javascript:;" data-check-screen="full">
                            <i class="layui-icon layui-icon-screen-full"></i>
                        </a>
                    </li>
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;" id="changePwd" title="修改密码">
                            <i class="layui-icon layui-icon-password"></i>
                        </a>
                    </li>
                    <li class="layui-nav-item" lay-unselect>
                        <a href="/Home/LogOut" title="退出登录">
                            <i class="layui-icon layui-icon-logout"></i>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <!--无限极左侧菜单-->
        <div class="layui-side layui-bg-black hyframe-menu-left">
        </div>
        <!--初始化加载层-->
        <div class="hyframe-loader">
            <div class="hyframe-loader-inner"></div>
        </div>
        <!--手机端遮罩层-->
        <div class="hyframe-make"></div>
        <!-- 移动导航 -->
        <div class="hyframe-site-mobile"><i class="layui-icon"></i></div>
        <div class="layui-body" style="padding-bottom:0px;">
            <div class="hyframe-tab layui-tab-rollTool layui-tab" lay-filter="hyframeTab" lay-allowclose="true">
                <ul class="layui-tab-title">
                    <li class="layui-this" id="hyframeHomeTabId" lay-id=""></li>
                </ul>
                <div>
                    <ul class="layui-tab-control">
                        <li class="hyframe-tab-roll-left layui-icon layui-icon-left"></li>
                        <li class="hyframe-tab-roll-right layui-icon layui-icon-right"></li>
                        <li class="layui-tab-tool layui-icon layui-icon-down">
                            <ul class="layui-nav close-box">
                                <li class="layui-nav-item">
                                    <a href="javascript:;"><span class="layui-nav-more"></span></a>
                                    <dl class="layui-nav-child">
                                        <dd><a href="javascript:;" hyframe-tab-close="current">关 闭 当 前</a></dd>
                                        <dd><a href="javascript:;" hyframe-tab-close="other">关 闭 其 他</a></dd>
                                        <dd><a href="javascript:;" hyframe-tab-close="all">关 闭 全 部</a></dd>
                                    </dl>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
                <div class="layui-tab-content">
                    <div id="hyframeHomeTabIframe" class="layui-tab-item layui-show"></div>
                </div>
            </div>
        </div>
        <script>
            layui.extend({
                hyframe: '/lib/hyframe/hyframe',
                hymenu: '/lib/hyframe/hymenu',
                hytab: '/lib/hyframe/hytab',
            });
            layui.use(['hyframe'], function () {
                var $ = layui.jquery,
                    layer = layui.layer,
                    hyframe = layui.hyframe;
                $("body").addClass("layui-layout-body hyframe-all");

                var options = {
                    menuInfo: @Html.Raw(ViewBag.ResourceList), // 初始化菜单信息
                    urlHashLocation: true, // 是否打开hash定位
                    multiModule: false, // 是否开启多模块
                    menuChildOpen: true, // 是否默认展开菜单
                    loadingTime: 0, // 初始化加载时间
                    pageAnim: true, // iframe窗口动画
                    maxTabNum: 20, // 最大的tab打开数量
                };
                hyframe.render(options);

                $('#changePwd').click(function () {
                    var index = layer.open({
                        type: 2,
                        title: '修改密码',
                        area: ['360px', '266px'],
                        content: '/SysUser/EditPassword',
                    });
                    return false;
                });
            });
        </script>
    </div>
</body>
</html>